package com.xsoft.sms.cmpp20.message.factory;

import com.xsoft.sms.cmpp20.message.ICMPP20Message;
import com.xsoft.sms.cmpp20.message.impl.CMPP20Message;
import com.xsoft.sms.cmpp20.message.impl.CMPP20MessageConnectRespBody;

/**
 * package: {PACKAGE_NAME}
 * User: zhanglm
 * Date: 12-9-21
 * Time: 下午1:14
 * Description:
 */
public class CMPP20MessageBodyFactory {
	public static ICMPP20Message newCMPP20MessageBody(int cmdId){
		switch (cmdId) {
			case CMPP20Message.CMPP20_CONNECT_RESP:
				return new CMPP20MessageConnectRespBody();
			default:
				return null;
		}
	}
}
